/* 通用样式 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* 让元素，边距和边框一块等于自己设置的宽高 */
}

::after,
::before {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    min-width: 1100px;
    font-family: 微软雅黑，华文细黑;
    -webkit-font-smoothing: antialiased;
    /* 字体抗锯齿 */
}


/* 内容区 */

.header {
    padding-left: 75px;
    padding-right: 55px;
    height: 66px;
    background-color: rgba(17, 17, 17, 0.75);
    color: #ccc;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}


/* 头部左边 */

.header-left {
    display: flex;
    align-items: center;
}

.header-music {
    background: url(../asset/music.png) center;
    background-size: 100%;
    /* 让背景图撑满 */
    width: 30px;
    height: 30px;
    cursor: pointer;
    /* 鼠标样式 */
}

.header-music.closed {
    background-image: url(../asset/music-close.png);
    /* 如果设置background的话会把属性重置，background-images只改变背景图 */
}

.header-logo {
    background: url(../asset/logo.png);
    background-position: center;
    /* 背景图位置居中 */
    width: 127px;
    height: 66px;
    margin: 0 25px;
}

.header-logo h1 {
    display: none;
}


/* 菜单 */

.header-menu {
    display: flex;
    /* 弹性盒里面的元素全是块级元素，不会有空白折叠 */
    height: 100%;
    align-items: center;
    position: relative;
}

.header-menu a {
    padding: 0 30px;
    letter-spacing: 5px;
    /* 文字间距 */
}

.header-menu a:hover,
.header-menu a.active {
    color: #fff;
    text-shadow: 0 0 10px, 0 0 20px, 0 0 40px;
    /* 文字阴影 */
}


/* 移动div */

.headerw-menu-bar {
    width: 40px;
    height: 5px;
    background: #69e0ff;
    position: absolute;
    top: 0;
    left: 28px;
}


/* 右边头部 */

.header-right {
    display: flex;
}


/* 成长关爱系统 */

.header-carefor {
    display: flex;
    align-items: center;
    background: url(../asset/heart.png) no-repeat;
    background-size: 27px 27px;
    background-position: 120px 19px;
    opacity: 0.75;
    /* 图片为半透明 */
}

.header-carefor span {
    margin-right: 90px;
    color: #fff;
}

.header-carefor:hover {
    color: #fff;
    opacity: 1;
    /* 恢复图片透明度 */
    cursor: pointer;
}


/* 登录 */

.header-sign {
    display: flex;
    align-items: center;
    background: url(../asset/user.png) no-repeat;
    background-position: 50px 19px;
    background-size: 27px 27px;
    opacity: 0.75;
}

.header-sign span {
    margin-right: 50px;
    color: #fff;
}

.header-sign:hover {
    color: #fff;
    opacity: 1;
    cursor: pointer;
}